const initialState = {
    currentUser: {
        name: "张三",
        age: 18
    }
}


// 定义一个reducer函数，接收state和action作为参数
function reducer(state = initialState, action) {
    // 根据action.type的值，返回不同的state
    switch (action.type) {
        default:
            return state

    }
}

export default reducer